package com.lxw.report.meta.contract;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

public class BaseUpdateRequest extends BaseRequest {
    @NotNull(message = "乐观锁版本号不得为空")
    @ApiModelProperty(value = "乐观锁版本号")
    private int rowVersion;

    public BaseUpdateRequest() {
    }

    public int getRowVersion() {
        return this.rowVersion;
    }

    public void setRowVersion(int rowVersion) {
        this.rowVersion = rowVersion;
    }
}
